home *** CD-ROM | disk | FTP | other *** search
- on oldWatch
- global md1, md2, MD3, MD4, MD5, md6, rantime, mp, ran, curSND
- if the movieTime of sprite 4 > md1 then
- set the movieRate of sprite 4 to -1
- end if
- if the movieTime of sprite 4 < 3 then
- set the movieRate of sprite 4 to 1
- end if
- if the movieRate of sprite 4 = 0 then
- set the movieRate of sprite 4 to 1
- end if
- if md2 = 0 then
- exit
- end if
- if the movieTime of sprite 5 > md2 then
- set the movieRate of sprite 5 to -1
- end if
- if the movieTime of sprite 5 < 3 then
- set the movieRate of sprite 5 to 1
- end if
- if the movieRate of sprite 5 = 0 then
- set the movieRate of sprite 5 to 1
- end if
- if MD3 = 0 then
- exit
- end if
- if the movieTime of sprite 6 > MD3 then
- set the movieRate of sprite 6 to -1
- end if
- if the movieTime of sprite 6 < 3 then
- set the movieRate of sprite 6 to 1
- end if
- if the movieRate of sprite 6 = 0 then
- set the movieRate of sprite 6 to 1
- end if
- if MD4 = 0 then
- exit
- end if
- if the movieTime of sprite 7 > MD4 then
- set the movieRate of sprite 7 to -1
- end if
- if the movieTime of sprite 7 < 3 then
- set the movieRate of sprite 7 to 1
- end if
- if the movieRate of sprite 7 = 0 then
- set the movieRate of sprite 7 to 1
- end if
- if MD5 = 0 then
- exit
- end if
- if the movieTime of sprite 8 > MD5 then
- set the movieRate of sprite 8 to -1
- end if
- if the movieTime of sprite 8 < 3 then
- set the movieRate of sprite 8 to 1
- end if
- if the movieRate of sprite 8 = 0 then
- set the movieRate of sprite 8 to 1
- end if
- if md6 = 0 then
- exit
- end if
- if the movieTime of sprite 9 > md6 then
- set the movieRate of sprite 9 to -1
- end if
- if the movieTime of sprite 9 < 3 then
- set the movieRate of sprite 9 to 1
- end if
- if the movieRate of sprite 9 = 0 then
- set the movieRate of sprite 9 to 1
- end if
- end
-
- on movwatch
- global md1, md2, MD3, MD4, MD5, md6, rantime, mp, ran, curSND, allvid
- if allvid = 0 then
- set xxx to "md" & mp - 3 & EMPTY
- set mdx to value(xxx)
- if (the ticks - rantime) > 1640 then
- set mp to random(ran) + 3
- set rantime to the ticks
- set xxx to "md" & mp - 3 & EMPTY
- set mdx to value(xxx)
- end if
- if the castType of cast the castNum of sprite mp = #digitalVideo then
- if the movieTime of sprite mp > mdx then
- set the movieRate of sprite mp to -0.80000000000000004
- end if
- if the movieTime of sprite mp < 3 then
- set the movieRate of sprite mp to 0.80000000000000004
- end if
- if the movieRate of sprite mp = 0 then
- set the movieRate of sprite mp to 1
- end if
- else
- set rantime to rantime - 1600
- end if
- else
- if the castType of cast the castNum of sprite 4 = #digitalVideo then
- if the movieTime of sprite 4 > md1 then
- set the movieRate of sprite 4 to -1
- end if
- if the movieTime of sprite 4 < 3 then
- set the movieRate of sprite 4 to 1
- end if
- if the movieRate of sprite 4 = 0 then
- set the movieRate of sprite 4 to 1
- end if
- end if
- if md2 = 0 then
- exit
- end if
- if the castType of cast the castNum of sprite 5 = #digitalVideo then
- if the movieTime of sprite 5 > md2 then
- set the movieRate of sprite 5 to -1
- end if
- if the movieTime of sprite 5 < 3 then
- set the movieRate of sprite 5 to 1
- end if
- if the movieRate of sprite 5 = 0 then
- set the movieRate of sprite 5 to 1
- end if
- end if
- if MD3 = 0 then
- exit
- end if
- if the castType of cast the castNum of sprite 6 = #digitalVideo then
- if the movieTime of sprite 6 > MD3 then
- set the movieRate of sprite 6 to -1
- end if
- if the movieTime of sprite 6 < 3 then
- set the movieRate of sprite 6 to 1
- end if
- if the movieRate of sprite 6 = 0 then
- set the movieRate of sprite 6 to 1
- end if
- end if
- if MD4 = 0 then
- exit
- end if
- if the castType of cast the castNum of sprite 7 = #digitalVideo then
- if the movieTime of sprite 7 > MD4 then
- set the movieRate of sprite 7 to -1
- end if
- if the movieTime of sprite 7 < 3 then
- set the movieRate of sprite 7 to 1
- end if
- if the movieRate of sprite 7 = 0 then
- set the movieRate of sprite 7 to 1
- end if
- end if
- if MD5 = 0 then
- exit
- end if
- if the movieTime of sprite 8 > MD5 then
- set the movieRate of sprite 8 to -1
- end if
- if the movieTime of sprite 8 < 3 then
- set the movieRate of sprite 8 to 1
- end if
- if the movieRate of sprite 8 = 0 then
- set the movieRate of sprite 8 to 1
- end if
- if md6 = 0 then
- exit
- end if
- if the movieTime of sprite 9 > md6 then
- set the movieRate of sprite 9 to -1
- end if
- if the movieTime of sprite 9 < 3 then
- set the movieRate of sprite 9 to 1
- end if
- if the movieRate of sprite 9 = 0 then
- set the movieRate of sprite 9 to 1
- end if
- end if
- end
-